/*
 * Decompiled with CFR 0.150.
 */
package com.gys.data.salesReceipts;

public class SaleActInfo {
    private String voucherId;
    private int num;
    private float money;

    public String getVoucherId() {
        return this.voucherId;
    }

    public int getNum() {
        return this.num;
    }

    public float getMoney() {
        return this.money;
    }

    public void setVoucherId(String voucherId) {
        this.voucherId = voucherId;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SaleActInfo)) {
            return false;
        }
        SaleActInfo other = (SaleActInfo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        String this$voucherId = this.getVoucherId();
        String other$voucherId = other.getVoucherId();
        if (this$voucherId == null ? other$voucherId != null : !this$voucherId.equals(other$voucherId)) {
            return false;
        }
        if (this.getNum() != other.getNum()) {
            return false;
        }
        return Float.compare(this.getMoney(), other.getMoney()) == 0;
    }

    protected boolean canEqual(Object other) {
        return other instanceof SaleActInfo;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        String $voucherId = this.getVoucherId();
        result = result * 59 + ($voucherId == null ? 43 : $voucherId.hashCode());
        result = result * 59 + this.getNum();
        result = result * 59 + Float.floatToIntBits(this.getMoney());
        return result;
    }

    public String toString() {
        return "SaleActInfo(voucherId=" + this.getVoucherId() + ", num=" + this.getNum() + ", money=" + this.getMoney() + ")";
    }
}

